import { mapGetters, mapActions, mapState } from "vuex";
export const memberMixin = {
    computed:{
        ...mapState('user',['user']),
        memNumber: function() {
            if(this.user !== undefined) return this.user.identity
            return JSON.parse(sessionStorage.getItem('account')).identity || 0
        }
    },
}
